import time
# 装饰器 decorator

def decorator(func):
	def wrapper(*args, **kw):
		print(time.time())
		return func(*args, **kw)
	return wrapper

@decorator
def init1(func_name):
	print('This is init1 func! ' + func_name)

@decorator
def init2(func_name, **kw):
	print('This is init1 func! ' + func_name)
	print(kw)

init1('init1')
init2('init2', a=1,b=2,c='123')
